package com.xuan.webfinally.entity;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 地表位移监测表
 * </p>
 *
 * @author gyuxuan
 * @since 2025-05-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("slope_surface_displacement")
@ApiModel(value="SlopeSurfaceDisplacement对象", description="地表位移监测表")
public class SlopeSurfaceDisplacement implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "靶标编号")
    @TableField("target_code")
    private String targetCode;

    @ApiModelProperty(value = "边坡名称")
    @TableField("slope_code")
    private String slopeCode;

    @ApiModelProperty(value = "x方向位移(mm)")
    @TableField("displacement_x")
    private BigDecimal displacementX;

    @ApiModelProperty(value = "y方向位移(mm)")
    @TableField("displacement_y")
    private BigDecimal displacementY;

    @ApiModelProperty(value = "z方向位移(mm)")
    @TableField("displacement_z")
    private BigDecimal displacementZ;

    @ApiModelProperty(value = "位移变化速率")
    @TableField("velocity")
    private String velocity;

    @ApiModelProperty(value = "时间")
    @TableField("displacement_time")
    private LocalDateTime displacementTime;

    @ApiModelProperty(value = "图像链接")
    @TableField("image_url")
    private String imageUrl;

    @ApiModelProperty(value = "部门ID")
    @TableField("dept_id")
    private Long deptId;

    @ApiModelProperty(value = "创建者")
    @TableField("create_by")
    private String createBy;

    @ApiModelProperty(value = "创建时间")
    @TableField("create_time")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "更新者")
    @TableField("update_by")
    private String updateBy;

    @ApiModelProperty(value = "更新时间")
    @TableField("update_time")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "删除标志（0代表存在 1代表删除）")
    @TableField("del_flag")
    private String delFlag;


}
